cmake_minimum_required(VERSION 3.14)
project(untitled)

add_subdirectory(./Includes)
add_subdirectory(./Libraries/ZWH_App)
add_subdirectory(./Libraries/ZWH_Class)
#add_subdirectory(./Libraries/ZWH_Drive)


find_package(OpenCV REQUIRED)
find_package(Ceres REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS}) # Not needed for CMake >= 2.8.11
include_directories(${CERES_INCLUDE_DIRS})
include_directories("/usr/include/eigen3")


add_executable(untitled main.cpp)
target_link_libraries(untitled Includes)
target_link_libraries(untitled ${OpenCV_LIBS})
target_link_libraries(untitled ${CERES_LIBRARIES})
